package com.imu.purse.modules.app.entity;

import com.imu.common.validator.group.UpdateGroup;
import com.imu.core.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.persistence.*;
import javax.validation.constraints.NotNull;


/**
 * 
 * 
 * @author sunhongwei
 * @email sunhongwei@jshijian.com
 * @date 2018-07-05 19:22:35
 * Copyright (c) 2017 武汉极时间科技有限公司 版权所有 
 * Jshijian aloha CO.,LTD. All Rights Reserved. 
 */
@Data
@Table(name = "sd_zblog")
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
public class SdZblogEntity extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	//主键
	@Id
	@Column(name="id")
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@NotNull(message="主键不存在无法更新", groups = {UpdateGroup.class})
	private Integer id;
	
	//用户编号
	@Column(name="uid")
	private Integer uid;
	
	//货币类型
	@Column(name="bid")
	private String bid;
	
	//转入类型
	@Column(name="tid")
	private Integer tid;
	
	//平台编号
	@Column(name="ptid")
	private Integer ptid;
	
	//记录时间
	@Column(name="logtime")
	private Integer logtime;
	
	//记录数量
	@Column(name="num")
	private Double num;
	
	//记录总量
	@Column(name="znum")
	private Double znum;
	
	//手续费用
	@Column(name="rmb")
	private Double rmb;
	
	//目标用户
	@Column(name="tuid")
	private Integer tuid;
	
	//钱包地址
	@Column(name="dizi")
	private String dizi;
	
	//转帐状态
	@Column(name="status")
	private Integer status;
	
	//提现编号
	@Column(name="txid")
	private String txid;

	//支付者手机号码
	@Column(name="pay_phone")
	private String payPhone;

	//接受者手机号码
	@Column(name="rec_phone")
	private String recPhone;
	
}
